<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>sysmonpsv: xsysmonpsv_lowlevel.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">sysmonpsv
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="pages.html"><span>Examples</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xsysmonpsv__lowlevel_8h.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xsysmonpsv_lowlevel.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:af4320c775170d738c09e9514f8ed0578"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xsysmonpsv__lowlevel_8h.html#af4320c775170d738c09e9514f8ed0578">XSysMonPsv_ReadReg32</a> (<a class="el" href="struct_x_sys_mon_psv.html">XSysMonPsv</a> *InstancePtr, u32 Offset, u32 *Data)</td></tr>
<tr class="memdesc:af4320c775170d738c09e9514f8ed0578"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the register value.  <a href="#af4320c775170d738c09e9514f8ed0578">More...</a><br/></td></tr>
<tr class="separator:af4320c775170d738c09e9514f8ed0578"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a858045476b6a6087db4ca972b571177b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xsysmonpsv__lowlevel_8h.html#a858045476b6a6087db4ca972b571177b">XSysMonPsv_WriteReg32</a> (<a class="el" href="struct_x_sys_mon_psv.html">XSysMonPsv</a> *InstancePtr, u32 Offset, u32 Data)</td></tr>
<tr class="memdesc:a858045476b6a6087db4ca972b571177b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes the register value.  <a href="#a858045476b6a6087db4ca972b571177b">More...</a><br/></td></tr>
<tr class="separator:a858045476b6a6087db4ca972b571177b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:addbcd5957b4048773561b3cce65d8708"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xsysmonpsv__lowlevel_8h.html#addbcd5957b4048773561b3cce65d8708">XSysMonPsv_UpdateReg32</a> (<a class="el" href="struct_x_sys_mon_psv.html">XSysMonPsv</a> *InstancePtr, u32 Offset, u32 Mask, u32 Data)</td></tr>
<tr class="memdesc:addbcd5957b4048773561b3cce65d8708"><td class="mdescLeft">&#160;</td><td class="mdescRight">Updates the register value.  <a href="#addbcd5957b4048773561b3cce65d8708">More...</a><br/></td></tr>
<tr class="separator:addbcd5957b4048773561b3cce65d8708"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="af4320c775170d738c09e9514f8ed0578"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XSysMonPsv_ReadReg32 </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_sys_mon_psv.html">XSysMonPsv</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Offset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32 *&#160;</td>
          <td class="paramname"><em>Data</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reads the register value. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the driver instance. </td></tr>
    <tr><td class="paramname">Offset</td><td>Offset address for the register. </td></tr>
    <tr><td class="paramname">Data</td><td>Value to be read.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_sys_mon_psv___config.html#a633d0f7cb706ecb1a0b17aa229b49298">XSysMonPsv_Config::BaseAddress</a>, and <a class="el" href="struct_x_sys_mon_psv.html#addcacffd66e527f65d6bfd53bcb44605">XSysMonPsv::Config</a>.</p>

<p>Referenced by <a class="el" href="xsysmonpsv__common_8h.html#a6b989c85810f2390a4731ff676240825">XSysMonPsv_ClearAlarm()</a>, <a class="el" href="xsysmonpsv__services_8h.html#ae768764267b169d51b366abe2c67e6ad">XSysMonPsv_DisableVoltageEvents()</a>, <a class="el" href="xsysmonpsv__services_8h.html#a27ee2cbf4e86a5e66f8ed744187a805f">XSysMonPsv_EnableVoltageEvents()</a>, <a class="el" href="group__sysmonpsv__api.html#ga905a5bdc5c367ffc484afa41e24908d9">XSysMonPsv_GetSupplyAverageRate()</a>, <a class="el" href="group__sysmonpsv__api.html#ga67c461a10a691c449c71cab32fac6a48">XSysMonPsv_GetSupplyThresholdLower()</a>, <a class="el" href="group__sysmonpsv__api.html#ga5b0151be3a224dd63fea642c1fe585ad">XSysMonPsv_GetSupplyThresholdUpper()</a>, <a class="el" href="group__sysmonpsv__api.html#ga434ea6e8dccdd0bfcccf13e2df4b1a74">XSysMonPsv_GetTempAverageRate()</a>, <a class="el" href="group__sysmonpsv__api.html#ga2c1a60d48742260bd94e48ddfa765923">XSysMonPsv_GetTempThresholdLower()</a>, <a class="el" href="group__sysmonpsv__api.html#gaaff6620f6d924de4cc4d872ec1372239">XSysMonPsv_GetTempThresholdUpper()</a>, <a class="el" href="xsysmonpsv__common_8h.html#abd3c28bb9cea2402997c6ee2950330c7">XSysMonPsv_InterruptGetStatus()</a>, <a class="el" href="group__sysmonpsv__api.html#gaf4ecf364c69e54ddaadd4b7d2706fcf8">XSysMonPsv_IntrGetEnabled()</a>, <a class="el" href="group__sysmonpsv__api.html#ga7af4abdb0829809ed0a356cfcbefd7d5">XSysMonPsv_IntrGetStatus()</a>, <a class="el" href="group__sysmonpsv__api.html#ga6fddf588f4735de4c0ec9264e5caefe5">XSysMonPsv_IsAlarmCondition()</a>, <a class="el" href="xsysmonpsv__common_8h.html#a988ca4d7c214731f9965743cf77a639a">XSysMonPsv_IsAlarmPresent()</a>, <a class="el" href="group__sysmonpsv__api.html#ga1a8a2b14e79ab454da94587abe7a9264">XSysMonPsv_IsNewData()</a>, <a class="el" href="group__sysmonpsv__api.html#gaa12f2d5b57a341960aa4a39bdfecd2a2">XSysMonPsv_PMBusEnable()</a>, <a class="el" href="group__sysmonpsv__api.html#gaf125b80abe5a4702b335fc3e70c35891">XSysMonPsv_PMBusEnableCmd()</a>, <a class="el" href="group__sysmonpsv__api.html#gaac931f4f5a2f878aff7e5fa181e59ec1">XSysMonPsv_ReadAlarmConfig()</a>, <a class="el" href="group__sysmonpsv__api.html#ga73941bc6fe25213dade609e6225a73d7">XSysMonPsv_ReadDeviceTemp()</a>, <a class="el" href="group__sysmonpsv__api.html#ga79627c08e07dc99d132f0f098cc53fb6">XSysMonPsv_ReadDevTempThreshold()</a>, <a class="el" href="group__sysmonpsv__api.html#gaa922507e6e5783cb3c05d2aa5f7d5902">XSysMonPsv_ReadOTTempThreshold()</a>, <a class="el" href="group__sysmonpsv__api.html#gad9a7e5df580de9e887d2a32e63506af6">XSysMonPsv_ReadSupplyProcessed()</a>, <a class="el" href="group__sysmonpsv__api.html#gadae2aa6363d44df1bd536d34b057e005">XSysMonPsv_ReadSupplyRaw()</a>, <a class="el" href="group__sysmonpsv__api.html#ga1a10fe00c1976a5bcbc37735c215f459">XSysMonPsv_ReadSupplyThreshold()</a>, <a class="el" href="group__sysmonpsv__api.html#gae7ecf0eb6d26336afedb0202fa16f2ed">XSysMonPsv_ReadSupplyValue()</a>, <a class="el" href="group__sysmonpsv__api.html#ga68d41d5890402def819f92c449b6aa64">XSysMonPsv_ReadTempProcessed()</a>, <a class="el" href="group__sysmonpsv__api.html#ga84625720834d5e07d7f4fe9d14bb43f8">XSysMonPsv_ReadTempProcessedSat()</a>, <a class="el" href="group__sysmonpsv__api.html#ga215a6613a637b848cdd432f6f5678c15">XSysMonPsv_ReadTempRaw()</a>, <a class="el" href="group__sysmonpsv__api.html#ga8da894f6b662969d74ac7bc25b811daa">XSysMonPsv_ReadTempRawSat()</a>, <a class="el" href="group__sysmonpsv__api.html#ga5dbe9629b2720851fad9dab0e9069c01">XSysMonPsv_SelectExtInterface()</a>, <a class="el" href="group__sysmonpsv__api.html#ga8efd8eda79de2a197d32b0479452d172">XSysMonPsv_SetAlarmConfig()</a>, <a class="el" href="group__sysmonpsv__api.html#ga77add816aad89432fc3b4f87f7671133">XSysMonPsv_SetNewDataIntSrc()</a>, <a class="el" href="group__sysmonpsv__api.html#gab64ac7f0373fe5636c7126d67432affd">XSysMonPsv_SetOTMode()</a>, <a class="el" href="group__sysmonpsv__api.html#ga639f4a61cb52833a215b341a42a0f968">XSysMonPsv_SetPMBusAddress()</a>, <a class="el" href="group__sysmonpsv__api.html#gaa8f51a313ccb628e58b51568219d0e5b">XSysMonPsv_SetTempMode()</a>, and <a class="el" href="xsysmonpsv__lowlevel_8h.html#addbcd5957b4048773561b3cce65d8708">XSysMonPsv_UpdateReg32()</a>.</p>

</div>
</div>
<a class="anchor" id="addbcd5957b4048773561b3cce65d8708"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XSysMonPsv_UpdateReg32 </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_sys_mon_psv.html">XSysMonPsv</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Offset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Mask</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Data</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Updates the register value. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the driver instance. </td></tr>
    <tr><td class="paramname">Offset</td><td>Offset addtress of the register. </td></tr>
    <tr><td class="paramname">Mask</td><td>Bits to be masked. </td></tr>
    <tr><td class="paramname">Data</td><td>Value to be written.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="xsysmonpsv__direct_8c.html#af4320c775170d738c09e9514f8ed0578">XSysMonPsv_ReadReg32()</a>, and <a class="el" href="xsysmonpsv__direct_8c.html#a858045476b6a6087db4ca972b571177b">XSysMonPsv_WriteReg32()</a>.</p>

<p>Referenced by <a class="el" href="group__sysmonpsv__api.html#ga3348ae2305bb3210bfb33f4e0e8b2916">XSysMonPsv_EnableSupplyAverage()</a>, <a class="el" href="group__sysmonpsv__api.html#ga8ee63e161846bc054c7d48eed0836e5c">XSysMonPsv_EnableTempAverage()</a>, <a class="el" href="group__sysmonpsv__api.html#ga8bf2cb5d9840fc249af33da03710b2e4">XSysMonPsv_SetSupplyAverageRate()</a>, and <a class="el" href="group__sysmonpsv__api.html#gab18bbfd7d662b4f76371dab6cc82e1bf">XSysMonPsv_SetTempAverageRate()</a>.</p>

</div>
</div>
<a class="anchor" id="a858045476b6a6087db4ca972b571177b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XSysMonPsv_WriteReg32 </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_sys_mon_psv.html">XSysMonPsv</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Offset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Data</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Writes the register value. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the driver instance. </td></tr>
    <tr><td class="paramname">Offset</td><td>Offset address of the register. </td></tr>
    <tr><td class="paramname">Data</td><td>Value to be written.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_sys_mon_psv___config.html#a633d0f7cb706ecb1a0b17aa229b49298">XSysMonPsv_Config::BaseAddress</a>, and <a class="el" href="struct_x_sys_mon_psv.html#addcacffd66e527f65d6bfd53bcb44605">XSysMonPsv::Config</a>.</p>

<p>Referenced by <a class="el" href="xsysmonpsv__common_8h.html#a6b989c85810f2390a4731ff676240825">XSysMonPsv_ClearAlarm()</a>, <a class="el" href="xsysmonpsv__services_8h.html#ae768764267b169d51b366abe2c67e6ad">XSysMonPsv_DisableVoltageEvents()</a>, <a class="el" href="xsysmonpsv__services_8h.html#a27ee2cbf4e86a5e66f8ed744187a805f">XSysMonPsv_EnableVoltageEvents()</a>, <a class="el" href="group__sysmonpsv__api.html#ga5587fefd54f4bb15bf0e04a4b6fd34f0">XSysMonPsv_EnRegGate()</a>, <a class="el" href="xsysmonpsv__common_8h.html#a396ab64a4d49e54dfbe618b1f827678f">XSysMonPsv_InterruptClear()</a>, <a class="el" href="xsysmonpsv__common_8h.html#a780deadc037ba622ecb6dd6ce2e2f559">XSysMonPsv_InterruptDisable()</a>, <a class="el" href="xsysmonpsv__common_8h.html#a4ae75168c5bf36923920778a77c15190">XSysMonPsv_InterruptEnable()</a>, <a class="el" href="group__sysmonpsv__api.html#ga9f2a84fb9f82598f93afc703d3428794">XSysMonPsv_IntrClear()</a>, <a class="el" href="group__sysmonpsv__api.html#gac5de90395d396c7106b2d4c1290fed3c">XSysMonPsv_IntrDisable()</a>, <a class="el" href="group__sysmonpsv__api.html#gaf215e9abbe11273d3dd56283fed78093">XSysMonPsv_IntrEnable()</a>, <a class="el" href="group__sysmonpsv__api.html#ga6fddf588f4735de4c0ec9264e5caefe5">XSysMonPsv_IsAlarmCondition()</a>, <a class="el" href="group__sysmonpsv__api.html#ga1a8a2b14e79ab454da94587abe7a9264">XSysMonPsv_IsNewData()</a>, <a class="el" href="group__sysmonpsv__api.html#gaa12f2d5b57a341960aa4a39bdfecd2a2">XSysMonPsv_PMBusEnable()</a>, <a class="el" href="group__sysmonpsv__api.html#gaf125b80abe5a4702b335fc3e70c35891">XSysMonPsv_PMBusEnableCmd()</a>, <a class="el" href="group__sysmonpsv__api.html#ga5dbe9629b2720851fad9dab0e9069c01">XSysMonPsv_SelectExtInterface()</a>, <a class="el" href="group__sysmonpsv__api.html#ga8efd8eda79de2a197d32b0479452d172">XSysMonPsv_SetAlarmConfig()</a>, <a class="el" href="group__sysmonpsv__api.html#gaa35f84afc8e8e8905ebc046aacf33a2c">XSysMonPsv_SetDevTempThreshold()</a>, <a class="el" href="group__sysmonpsv__api.html#ga77add816aad89432fc3b4f87f7671133">XSysMonPsv_SetNewDataIntSrc()</a>, <a class="el" href="group__sysmonpsv__api.html#gab64ac7f0373fe5636c7126d67432affd">XSysMonPsv_SetOTMode()</a>, <a class="el" href="group__sysmonpsv__api.html#gad88ab34f5b255e5e09fc81ce1c569996">XSysMonPsv_SetOTTempThreshold()</a>, <a class="el" href="group__sysmonpsv__api.html#ga639f4a61cb52833a215b341a42a0f968">XSysMonPsv_SetPMBusAddress()</a>, <a class="el" href="group__sysmonpsv__api.html#ga78e37e43c6d1606da22b65dc0e3d9973">XSysMonPsv_SetSupplyLowerThreshold()</a>, <a class="el" href="group__sysmonpsv__api.html#ga91085a71b3a47feced9334972d44fe42">XSysMonPsv_SetSupplyThresholdLower()</a>, <a class="el" href="group__sysmonpsv__api.html#ga9ad66ba4141b25c3c0d88d2cc9b6da65">XSysMonPsv_SetSupplyThresholdUpper()</a>, <a class="el" href="group__sysmonpsv__api.html#ga9dca84e2abf699d1a1a0d76acb073045">XSysMonPsv_SetSupplyUpperThreshold()</a>, <a class="el" href="group__sysmonpsv__api.html#gaa8f51a313ccb628e58b51568219d0e5b">XSysMonPsv_SetTempMode()</a>, <a class="el" href="group__sysmonpsv__api.html#ga149bfc9f51bcb73c25200d3ba1310b89">XSysMonPsv_SetTempThresholdLower()</a>, <a class="el" href="group__sysmonpsv__api.html#ga023579c86e80a20a04147ac55c77f841">XSysMonPsv_SetTempThresholdUpper()</a>, <a class="el" href="group__sysmonpsv__api.html#gaaa218672923fb177ad4779060b2589db">XSysMonPsv_StatusReset()</a>, <a class="el" href="group__sysmonpsv__api.html#gac319313983216b9248dbca42ce6b0d68">XSysMonPsv_SystemReset()</a>, <a class="el" href="xsysmonpsv__common_8h.html#a56422c5c70128f1ccedb5b93ad2b48bd">XSysMonPsv_UnlockRegspace()</a>, and <a class="el" href="xsysmonpsv__lowlevel_8h.html#addbcd5957b4048773561b3cce65d8708">XSysMonPsv_UpdateReg32()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
